PSPSDK=$(shell psp-config --pspsdk-path)
PSPDIR=$(shell psp-config --psp-prefix)
TARGET_LIB = ../../libmpcdec.a
OBJS = 	huffsv46.o \
	huffsv7.o \
	idtag.o \
	mpc_decoder.o \
	mpc_reader.o \
	requant.o \
	streaminfo.o \
	synth_filter.o
INCDIR = ../include
CFLAGS = -O2 -G0 -fomit-frame-pointer -fPIC -DMPC_LITTLE_ENDIAN -DHAVE_CONFIG_H -DMPC_LITTLE_ENDIAN
CXXFLAGS = $(CFLAGS) -fno-rtti
ASFLAGS = $(CFLAGS)

include $(PSPSDK)/lib/build.mak

clean:
	rm -f *.o
	rm -f ../../libmpcdec.a
